<form class="form-horizontal" role="form" id="sensorForm">
    <input type="hidden" name="id">
    <div class="form-group">
        <label  class="col-sm-3 control-label">农事名称</label>
        <div class="col-sm-9">
            <input type="text" class="form-control" name="name" updateonlyread/>
        </div>
    </div>
    <div class="form-group">
        <label  class="col-sm-3 control-label">农事类别</label>
        <div class="col-sm-9">
            <select type="search" class="form-control farmTypeId" name="farmTypeId" updateonlyread></select>
        </div>
    </div>
    <div class="form-group">
        <label  class="col-sm-3 control-label">农事用品</label>
        <div class="col-sm-9">
            <input type="text" class="form-control" name="farmSupplies" updateonlyread/>
        </div>
    </div>
    <div class="form-group">
        <label  class="col-sm-3 control-label">用品品牌</label>
        <div class="col-sm-9">
            <input type="text" class="form-control" name="suppliesBrand" updateonlyread />
        </div>
    </div>
    <div class="form-group">
        <label  class="col-sm-3 control-label">创建时间</label>
        <div class="col-sm-9">
            <input type="text" class="form-control" name="createDateTime" updateonlyread/>
        </div>
    </div>
    <div class="form-group" hide>
        <label  class="col-sm-3 control-label">创建人</label>
        <div class="col-sm-9">
            <input type="text" class="form-control" name="createUsername" updateonlyread/>
        </div>
    </div>
</form>

<script>
    $(function () {
        loadSelectByClassSync("${basePath}/manager/farm/getAllFarmTypeList",null,"farmTypeId","--请选择农事类型--","id","name");
    })
</script>

